<tr>
  <td><%= property_pattern.presentation %></td>
  <td>
    <% permitted_to? :edit, :admin_property_patterns do %>
      <%= button_to_edit "Editovat šablonu vlastností", edit_admin_property_pattern_path(property_pattern) %>
    <% end %>
    <% permitted_to? :edit, :admin_product_properties do %>
      <%= remote_button_to_confirm "Použít šablonu", add_property_pattern_admin_product_product_properties_path(params[:product_id], :property_pattern_id => property_pattern), "new_pattern" %>
    <% end %>
  </td>
</tr>